package com.gaga.console.core.entity.dto;

import com.gaga.common.enums.PlayerType;
import com.gaga.common.enums.ScriptType;
import com.gaga.console.core.entity.BvScriptItem;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 话术vo
 * </p>
 *
 * @author liujia
 * @since 2022-05-19
 */
@Data
@ApiModel("音频播放请求参数")
@Accessors(chain = true)
public class AudioPlayDto implements Serializable {

    private String audioFilePath;

    /**
     * 是否智能回复
     */
    private Boolean isSmartReply = false;

    /**
     * 润色前话术
     */
    private String oldText;

    /**
     * 润色后话术
     */
    private String text;

    private ScriptType scriptType;

    private String channelId;

    /**
     * 消息内容
     */
    private String playScriptId;

    private float volume = 1f;

    private float speed = 1f;

    /**
     * 播放文件名-主音频播放时生效
     */
    private String playFileName;

    private Long scriptCategoryId;

    private String playLogPath;

    /**
     * 主音频播放间隔
     */
    private Integer intervalMin;

    /**
     * 主音频播放间隔
     */
    private Integer intervalMax;

    /**
     * 是否实时生成
     */
    private Boolean realTime = false;

    /**
     * 原来的话术内容-用于实时生成时间音频的
     */
    private String oldScriptContent;

    /**
     * 临时路径-用于实时生成时间音频的
     */
    private String oldTempPath;

    /**
     * 临时对象-用于实时生成时间音频的
     */
    private BvScriptItem oldScriptItem;

    private PlayerType playerType;

    private LocalDateTime futureTime;

    private Boolean broadTime = false;

}
